﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestNHibLib
{
    public class User
    {
		private long id;
		private string firstName;
		private string lastName;
		private string loginName;
		private string password;

		public long ID
		{
			get { return id; }
			set { id = value; }
		}

		public string FirstName
		{
			get { return firstName; }
			set { firstName = value; }
		}

		public string LastName
		{
			get { return lastName; }
			set { lastName = value; }
		}

		public string LoginName
		{
			get { return loginName; }
			set { loginName = value; }
		}

		public string Password
		{
			get { return password; }
			set { password = value; }
		}

		public User()
		{

		}

		public User(string login, string pass)
		{
			loginName = login;
			password = pass;
		}
    }
}
